<div class="mui-content" id="pullrefresh">
    {if $list}
    {foreach $list as $key => $items}
    <div class="item_box">
        <div class="i_b_title">{$items.month|strtotime|date='Y年m月',###}工资</div>
        {if $items.list}
        {foreach $items.list as $item}
        <div class="fsjl_item2 mui-card">
            <div class="f_item_title{:$key == '0' ? ' active' : ''}">{$payslip_type[$item.payslip_type]|default=''}<span class="mui-icon mui-icon-arrowup"></span></div>
            <div class="item_list{:$key == '0' ? ' show' : ''}">
                {if $item.payslip_json}
                {foreach $item.payslip_json as $name => $value}
                {if $payslip_config.open_hidden_null == 1 && $value == ''}
                {elseif $payslip_config.open_hidden_zero == 1 && $value == '0'}
                {else}
                <div class="item">
                    <span>{$name}</span><div>{$value|default='　'}</div>
                </div>
                {/if}
                {/foreach}
                {/if}
            </div>
            <div class="item">
                <span>实发金额（元）</span>
                <div class="amount">{$item.payslip_total}</div>
            </div>
        </div>
        {/foreach}
        {/if}
    </div>
    {/foreach}
    {/if}
</div>